<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>cm-admin</title>
    <link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="css/style.min.css" rel="stylesheet">
    <link href="http://cdn.bootcss.com/bootstrap-datetimepicker/4.7.14/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <nav class="navbar navbar-cmcm navbar-fixed-top">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="#">CM微店后台</a>
      </div>
      <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav">
          <li><a href="{:U('Index/index')}">统计分析</a></li>
          <li><a href="{:U('Bills/index')}">下单</a></li>
          <li class="active"><a href="{:U('Orders/index')}">订单管理</a></li>
          <li><a href="{:U('Products/index')}">商品管理</a></li>
          <li><a href="{:U('Shops/index')}">店铺管理</a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right">
          <li class="dropdown">
            
            <ul class="dropdown-menu">
              <li><a href="{:U('Users/index')}">用户信息</a></li>
              <li><a href="/web/index.php?c=wxapp&a=version&do=home">返回小程序</a></li>
            </ul>
          </li>
        </ul>
      </div>
    </nav>
    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-md-2 sidebar hidden-xs">
          <div class="menu">
            <dl>
              <dt><i class="cm-order"></i>订单管理</dt>
              <dd class="active"><a href="{:U('Orders/index')}">订单列表</a></dd>
              <dd><a href="#">自提点报表</a></dd>
            </dl>
          </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
          <div class="main-hd">
            <h5>订单列表</h5>
            <div class="searchbar">
              <div class="search-box">
                <input type="search" placeholder="输入订单号"><a class="search-text-clear hidden" href="javascript:;"><i class="cm-close"></i></a>
              </div><input type="submit" value="搜索">
            </div>
          </div>
          <div class="main-bd">
            <div class="alert alert-danger alert-dismissible fade in" role="alert">
              <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
              订单删除失败！ 请刷新后重新尝试删除
            </div>
            <div class="alert alert-success alert-dismissible fade in" role="alert">
              <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
              成功删除订单！
            </div>
            <div class="form-box order-datatime">
                  <div class="form-horizontal">
                    <div class="form-group">
                      <label class="col-sm-2 control-label">下单时间</label>
                      <div class="col-sm-3">
                        <div class="input-group date" id="datetime-start">
                          <input class="form-control" type="text" placeholder="开始时间">
                          <span class="input-group-addon"><i class="cm-calendar"></i></span>
                        </div>  
                      </div>
                      <label class="col-sm-1 control-label">到</label>
                      <div class="col-sm-3">
                        <div class="input-group date" id="datetime-end">
                          <input class="form-control" type="text" placeholder="结束时间">
                          <span class="input-group-addon"><i class="cm-calendar"></i></span>
                        </div>  
                      </div>
                            <div class="col-sm-3">
                                <div class="select-type">
                                    <select class="form-control">
                                        <option>全部（仅搜索用）</option>
                                        <option>按自提点</option>
                                        <option>按快递单</option>
                                        <option>按进货量（无搜索）</option>
                                        <option>所有自提点</option>
                                        <option>导出联系人</option>
                                    </select>
                                </div>
                            </div>
                    </div>
                    <div class="form-group points-select show">
                      <label class="col-sm-2 control-label">选择自提点</label>
                      <div class="col-sm-3">
                        <div class="select-type">
                          <select class="form-control">
                            <option>全部（仅搜索）</option>
                            <option>枫杨路29号</option>
                            <option>君泰烟酒</option>
                          </select>
                        </div>
                      </div>
                    </div>
                    <div class="form-group">
                      <div class="col-sm-12 col-md-9 form-box-btns">
                        <a class="btn btn-primary" href="#">查询</a>
                        <a class="btn btn-default" href="#">导出</a>
                                <a class="btn btn-primary" href="javascript:void(0)">发货</a>
                      </div>
                    </div>
                  </div>
                </div>
            <ul class="nav nav-tabs">
              <li class="active"><a href="#all-order" data-toggle="tab">全部订单</a></li>
              <li><a href="#since-order" data-toggle="tab">自提订单</a></li>
              <li><a href="#express-order" data-toggle="tab">快递订单</a></li>
            </ul>
            <div class="tab-content">
              <div class="tab-pane active" id="all-order">
                <div class="table-responsive">
                  <table class="table table-cmcm">
                    <tr>
                      <th>
                        <div class="checkbox">
                          <label><input type="checkbox" class="checkall">全选</label>
                        </div>
                      </th>
                      <th>订单号</th>
                      <th>订单金额</th>
                      <th>是否自提</th>
                      <th>快递/自提人</th>
                      <th>联系电话</th>
                      <th>状态</th>
                      <th>备注</th>
                      <th>下单时间</th>
                      <th>相关操作</th>
                    </tr>
                    <tr>
                      <td>
                        <div class="checkbox">
                          <label><input type="checkbox"></label>
                        </div>
                      </td>
                      <td>1606152235461752</td>
                      <td>111.00</td>
                      <td>自提</td>
                      <td>陈重</td>
                      <td>15058800685</td>
                      <td>已发货</td>
                      <td></td>
                      <td>2016-06-15 22:35</td>
                      <td>
                        <a class="cm-detail" data-toggle="modal" data-target="#order-detail" title="查看详情" href="#"></a>
                        <a class="cm-close" title="删除" href="#"></a>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <div class="checkbox">
                          <label><input type="checkbox"></label>
                        </div>
                      </td>
                      <td>1606152235461752</td>
                      <td>111.00</td>
                      <td>自提</td>
                      <td>陈重</td>
                      <td>15058800685</td>
                      <td>已发货</td>
                      <td></td>
                      <td>2016-06-15 22:35</td>
                      <td>
                        <a class="cm-detail" data-toggle="modal" data-target="#order-detail" title="查看详情" href="#"></a>
                        <a class="cm-close" title="删除" href="#"></a>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <div class="checkbox">
                          <label><input type="checkbox"></label>
                        </div>
                      </td>
                      <td>1606152235461752</td>
                      <td>111.00</td>
                      <td>自提</td>
                      <td>陈重</td>
                      <td>15058800685</td>
                      <td>已发货</td>
                      <td></td>
                      <td>2016-06-15 22:35</td>
                      <td>
                        <a class="cm-detail" data-toggle="modal" data-target="#order-detail" title="查看详情" href="#"></a>
                        <a class="cm-close" title="删除" href="#"></a>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <div class="checkbox">
                          <label><input type="checkbox"></label>
                        </div>
                      </td>
                      <td>1606152235461752</td>
                      <td>111.00</td>
                      <td>自提</td>
                      <td>陈重</td>
                      <td>15058800685</td>
                      <td>已发货</td>
                      <td></td>
                      <td>2016-06-15 22:35</td>
                      <td>
                        <a class="cm-detail" data-toggle="modal" data-target="#order-detail" title="查看详情" href="#"></a>
                        <a class="cm-close" title="删除" href="#"></a>
                      </td>
                    </tr>
                  </table>
                </div>
                <ul class="pagination pull-right">
                  <li>
                    <a href="#" aria-label="Previous">
                      <span aria-hidden="true">&laquo;</span>
                    </a>
                  </li>
                  <li class="active"><a href="#">1</a></li>
                  <li><a href="#">2</a></li>
                  <li><a href="#">3</a></li>
                  <li><a href="#">4</a></li>
                  <li><a href="#">5</a></li>
                  <li>
                    <a href="#" aria-label="Next">
                      <span aria-hidden="true">&raquo;</span>
                    </a>
                  </li>
                </ul>
              </div>
              <div class="tab-pane" id="since-order">
                <table class="table table-cmcm">
                  <tr>
                    <th>
                      <div class="checkbox">
                        <label><input type="checkbox">全选</label>
                      </div>
                    </th>
                    <th>订单号</th>
                    <th>订单金额</th>
                    <th>是否自提</th>
                    <th>快递/自提人</th>
                    <th>联系电话</th>
                    <th>状态</th>
                    <th>备注</th>
                    <th>下单时间</th>
                    <th>相关操作</th>
                  </tr>
                  <tr>
                    <td>
                      <div class="checkbox">
                        <label><input type="checkbox"></label>
                      </div>
                    </td>
                    <td>1606152235461752</td>
                    <td>111.00</td>
                    <td>自提</td>
                    <td>陈重</td>
                    <td>15058800685</td>
                    <td>已发货</td>
                    <td></td>
                    <td>2016-06-15 22:35</td>
                    <td>
                      <a class="cm-detail" data-toggle="modal" data-target="#order-detail" title="查看详情" href="#"></a>
                      <a class="cm-close" title="删除" href="#"></a>
                    </td>
                  </tr>
                  <tr>
                    <td>
                      <div class="checkbox">
                        <label><input type="checkbox"></label>
                      </div>
                    </td>
                    <td>1606152235461752</td>
                    <td>111.00</td>
                    <td>自提</td>
                    <td>陈重</td>
                    <td>15058800685</td>
                    <td>已发货</td>
                    <td></td>
                    <td>2016-06-15 22:35</td>
                    <td>
                      <a class="cm-detail" data-toggle="modal" data-target="#order-detail" title="查看详情" href="#"></a>
                      <a class="cm-close" title="删除" href="#"></a>
                    </td>
                  </tr>
                </table>
              </div>
              <div class="tab-pane" id="express-order">
                <table class="table table-cmcm">
                  <tr>
                    <th>
                      <div class="checkbox">
                        <label><input type="checkbox">全选</label>
                      </div>
                    </th>
                    <th>订单号</th>
                    <th>订单金额</th>
                    <th>是否自提</th>
                    <th>快递/自提人</th>
                    <th>联系电话</th>
                    <th>状态</th>
                    <th>备注</th>
                    <th>下单时间</th>
                    <th>相关操作</th>
                  </tr>
                  <tr>
                    <td>
                      <div class="checkbox">
                        <label><input type="checkbox"></label>
                      </div>
                    </td>
                    <td>1606152235461752</td>
                    <td>111.00</td>
                    <td>快递</td>
                    <td>陈重</td>
                    <td>15058800685</td>
                    <td>已发货</td>
                    <td></td>
                    <td>2016-06-15 22:35</td>
                    <td>
                      <a class="cm-detail" data-toggle="modal" data-target="#order-detail" title="查看详情" href="#"></a>
                      <a class="cm-close" title="删除" href="#"></a>
                    </td>
                  </tr>
                  <tr>
                    <td>
                      <div class="checkbox">
                        <label><input type="checkbox"></label>
                      </div>
                    </td>
                    <td>1606152235461752</td>
                    <td>111.00</td>
                    <td>快递</td>
                    <td>陈重</td>
                    <td>15058800685</td>
                    <td>已发货</td>
                    <td></td>
                    <td>2016-06-15 22:35</td>
                    <td>
                      <a class="cm-detail" data-toggle="modal" data-target="#order-detail" title="查看详情" href="#"></a>
                      <a class="cm-close" title="删除" href="#"></a>
                    </td>
                  </tr>
                  <tr>
                    <td>
                      <div class="checkbox">
                        <label><input type="checkbox"></label>
                      </div>
                    </td>
                    <td>1606152235461752</td>
                    <td>111.00</td>
                    <td>快递</td>
                    <td>陈重</td>
                    <td>15058800685</td>
                    <td>已发货</td>
                    <td></td>
                    <td>2016-06-15 22:35</td>
                    <td>
                      <a class="cm-detail" data-toggle="modal" data-target="#order-detail" title="查看详情" href="#"></a>
                      <a class="cm-close" title="删除" href="#"></a>
                    </td>
                  </tr>
                </table>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="modal fade" id="order-detail">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h4 class="modal-title">订单详情</h4>
          </div>
          <div class="modal-body">
            <div class="product-item">
                      <div class="product-item-hd">
                        <p>地址: 枫杨路29号五星水果店旁（周边小区：枫杨社区、民丰社区）</p>
                        <p>运费: 2.00 </p>
                      </div>
                      <div class="product-item-bd">
                        <div class="product-infor-left">
                          <img src="__PUBLIC__/myadmin/images/1.jpg">
                          <h5>海南妃子笑荔枝</h5>
                          <p>3斤左右（以实际毛重为准）</p>
                        </div>
                        <div class="product-infor-right">
                          <p class="product-price">￥29.00 <span class="product-num">x 2</span></p>
                        </div>
                        <div class="clearfix"></div>
                      </div>
                      <div class="product-item-bd">
                        <div class="product-infor-left">
                          <img src="__PUBLIC__/myadmin/images/1.jpg">
                          <h5>海南妃子笑荔枝</h5>
                          <p>3斤左右（以实际毛重为准）</p>
                        </div>
                        <div class="product-infor-right">
                          <p class="product-price">￥29.00 <span class="product-num">x 2</span></p>
                        </div>
                        <div class="clearfix"></div>
                      </div>
                    </div>
          </div>
        </div>
      </div>
    </div>
    <script src="node_modules/jquery/dist/jquery.min.js"></script>
    <script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
    <script src="node_modules/moment/min/moment.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap-datetimepicker/4.7.14/js/bootstrap-datetimepicker.min.js"></script>
    <script src="js/common.js"></script>
  </body>
</html>